import requests from "@/api/requests";

// <============ 三方开放接口 ===========>
// http://t.weather.itboy.net
// 城市天气查询(三方开放接口)
export const weather = (code = '101030100') =>
  requests({url: `/weather/city/${code}`, method: 'GET'})


// <============ 后端接口 ===========>
// http://gmall-h5-api.atguigu.cn
// 首页三级分类
export const getBaseCategoryList = () =>
  requests({url: '/product/getBaseCategoryList', method: "GET"})




